package com.sgcc.service;

import com.sgcc.dao.UserDao;
import com.sgcc.po.User;
import org.springframework.beans.factory.annotation.Autowired;

public class LoginService {

    @Autowired
    UserDao userDao;

    public User login(User user) throws Exception{

        return userDao.login(user);
    }
}
